﻿CREATE TABLE [dbo].[Client] (
    [BaseUserID] INT NOT NULL,
	[Name] NVARCHAR(256) NOT NULL,
	[District] INT NOT NULL, 
    [Address] NVARCHAR(256) NOT NULL, 
    [IsAllowed] BIT NOT NULL, 
    CONSTRAINT [PK_Client] PRIMARY KEY CLUSTERED ([BaseUserID] ASC),
    CONSTRAINT [FK_Client_BaseUser] FOREIGN KEY ([BaseUserID]) REFERENCES [dbo].[BaseUser] ([ID]) 
);

